﻿using DLL.Standard.Infrastructure;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

// Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled.
// If you have enabled NRTs for your project, then un-comment the following line:
// #nullable disable

namespace DLL.NET50.DB.MS.Entity
{
    public partial class adi_work_file : CNotifyPropertyChanged, ICloneable
    {
        private string _Solvent_Name;
        private string _Solvent_Code;
        private float _SOLVENT_REALDOSE;

        private string _DRUG_NAME;
        private string _DRUG_CODE;
        private int _DRUG_COUNT;
        private string _DRUG_PYCODE;
        private float _DOSE;
        private string _DOSE_UNIT;
        private string _FILE_NAME;
        private float _REALDOSE;

        private int _ErKeMode;

        [Key]
        public int ID { get; set; }

        public string Solvent_Name
        {
            get
            { return _Solvent_Name; }
            set
            {
                _Solvent_Name = value;
                OnPropertyChanged();
            }
        }

        public string Solvent_Code
        {
            get
            { return _Solvent_Code; }
            set
            {
                _Solvent_Code = value;
                OnPropertyChanged();
            }
        }

        public string DRUG_NAME
        {
            get
            { return _DRUG_NAME; }
            set
            {
                _DRUG_NAME = value;
                OnPropertyChanged();
            }
        }

        public string DRUG_CODE
        {
            get
            { return _DRUG_CODE; }
            set
            {
                _DRUG_CODE = value;
                OnPropertyChanged();
            }
        }

        public int DRUG_COUNT
        {
            get
            { return _DRUG_COUNT; }
            set
            {
                _DRUG_COUNT = value;
                OnPropertyChanged();
            }
        }

        public string DRUG_PYCODE
        {
            get
            { return _DRUG_PYCODE; }
            set
            {
                _DRUG_PYCODE = value;
                OnPropertyChanged();
            }
        }

        public float DOSE
        {
            get
            { return _DOSE; }
            set
            {
                _DOSE = value;
                OnPropertyChanged();
            }
        }

        public string DOSE_UNIT
        {
            get
            { return _DOSE_UNIT; }
            set
            {
                _DOSE_UNIT = value;
                OnPropertyChanged();
            }
        }

        public string FILE_NAME
        {
            get
            { return _FILE_NAME; }
            set
            {
                _FILE_NAME = value;
                OnPropertyChanged();
            }
        }

        public float REALDOSE
        {
            get
            { return _REALDOSE; }
            set
            {
                _REALDOSE = value;
                OnPropertyChanged();
            }
        }

        public int ErKeMode
        {
            get
            { return _ErKeMode; }
            set
            {
                _ErKeMode = value;
                OnPropertyChanged();
            }
        }

        public object Clone()
        {
            //浅复制，只可以复制值类型的变量，对医用类型的变量没用
            return this.MemberwiseClone();
        }
    }
}